package com.dailyblue.project.estate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.EstateManager;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:ManagerService
 * @Date:2025/9/18 15:41
 */
@Service
public interface ManagerService extends IService<EstateManager> {
    //添加一条数据
    JsonResult saveManager(EstateManager estateManager);
    //查询一条数据
    JsonResult findOne(String id);
    //查询所有数据
    JsonResult findAll();
    //删除一条数据
    JsonResult deleteOne(String id);
    //更新一条数据
    JsonResult updateOne(EstateManager estateManager);
}
